//
//  MyCollectionListCell.m
//  com.modada.new
//
//  Created by ferver7 on 2019/4/15.
//  Copyright © 2019 ferver7. All rights reserved.
//

#import "MyCollectionListCell.h"
#import "AppBaseGoodItem.h"

@implementation MyCollectionListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)reloadViewForModel:(id)model
{
    AppBaseGoodItem * itemModel = (AppBaseGoodItem *)model;
    [self.logoImage sd_setImageWithURL:[NSURL URLWithString:itemModel.thumbnail] placeholderImage:nil];
    self.nameLabel.text = itemModel.goodName;
    self.colNumsLabel.text = [NSString stringWithFormat:@"%@人收藏",itemModel.goodCollNum];
    self.priceLabel.text = [NSString stringWithFormat:@"¥%@",itemModel.lowerPrice];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

   
}

@end
